package ace.cmp.spring.graphql.test.test.core.repository;

import ace.cmp.spring.graphql.test.test.core.model.Book;
import java.util.List;

/**
 * @author caspar
 * @date 2023/8/22 17:04
 */
public interface BookRepository {
  List<Book> getAll();

  List<Book> getByIdIn(List<Long> ids);

  Book getById(Long id);

  Book modify(Long id, String title);
}
